package com.example.spring.statmachine.example.annotation;

import java.lang.annotation.*;

/**
 * @author zhangwenxue
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface StateMachineAnno {

    /**
     * 唯一id
     * @return String
     */
    String keyExpression();
    /**
     *执行的业务key
     * @return String
     */
    String key();
}
